<?php
/**
 * Created by PhpStorm.
 * User: 1
 * Date: 2018/6/7
 * Time: 13:26
 */

namespace app\admin\validate;


use think\Validate;

class Information extends Validate
{
    protected $rule = [
        'user_id' => 'require',
        'title' => 'require',
        'content' => 'require',
    ];
    protected $message = [
        'user_id.require' => '发送对象必须选择',
        'title.require' => '发送标题不能为空',
        'title.content' => '发送内容不能为空',
    ];
}